package com.kcyu.sfherp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kcyu.sfherp.entity.Chmx;
import com.kcyu.sfherp.entity.CustomHistoryPrice;
import com.kcyu.sfherp.entity.Good;
import com.kcyu.sfherp.entity.utilEntity.SeriesSaleStatistic;

import java.util.List;
import java.util.Set;

public interface GoodService extends IService<Good> {

    public List<Good> queryGoodsByNameOrNumber(String spinfo);
    public List<CustomHistoryPrice> queryHistoryPrice(String khname, String spname);

    public List<CustomHistoryPrice> queryRecentlyPriceByspbh(String spbh);

    public Set<String> getSeriesSet();

    public List<Good> getSeriesInfo(String xl);

    public List<SeriesSaleStatistic> getSeriesSaleStatistic(String xl, String startTime, String endTime);

    public List<Chmx> getSeriesOutDetail(String xl, String startTime, String endTime);

    public List<Good> getAlertGoods();
}
